package com.wissen.visitor;
/**
 * this is visitor come class having 3 methods
 * @author wissen16
 */
public class VisitorCome implements Visitor1 {                   
	/**
	 * visit to kashmir 
	 * @param s Kashmir class Object
	 */	
	public void visit(Kashmir  s) {
		   System.out.println( "200 People visit to " + s.name() );
	   }
	/**
	 * visit to Uttaranchal 
	 * @param s Uttaranchal class Object
	 */
	   public void visit(Uttaranchal  s) {
		   System.out.println( "300 People visit to " + s.name() );
	   }
	   /**
		 * visit to Himachal 
		 * @param s Himachal class Object
		 */  
	   public void visit(Himachal s) {
		   System.out.println( "500 People visit to " + s.name() );
	   }	   
}
